<el-dialog :close-on-click-modal="false"  :close-on-press-escape="false"  class="dialogStyleBase" :title="mixinEdit_editTitle" width="500px" :visible.sync="mixinEdit_editVisible"
    :before-close="function(){mixinEdit_editBoxClose('editForm')}" append-to-body>
    <div class="dialogStyleBaseBox" v-loading="mixinEdit_loading">
        <el-form ref="editForm" :model="form" label-width="100px" label-position="left">
            <el-form-item label="资产名称" prop="name" :rules="{ required: true, message: '资产名称 不能为空'}">
                <el-input v-model="form.name" maxlength="20" show-word-limit></el-input>
            </el-form-item>
            <el-form-item label="资产图标" prop="integralIcon" :rules="{ required: true, message: '资产图标 不能为空'}">
                <div class="imgWrap">
                    <SelectImageRadio :appWindow="appWindow" v-model="form.integralIcon" @change="validate">
                        <template slot-scope="scope" slot="item">
                            <img class="SelectResourcesImg" :src="scope.src" />
                        </template>
                    </SelectImageRadio>
                </div>
            </el-form-item>
            <el-form-item label="系统预设" >
                <div class="imgList">
                    <div class="li" v-for="(item,index) in iconDefaultList" @click="addIcon(item)"><img class="SelectResourcesImg" :src="item" /></div>
                </div>
            </el-form-item>
        </el-form>
    </div>
    <div slot="footer">
        <el-row>
            <el-col :span="24">
                <el-button :disabled="mixinEdit_loading" @click="mixinEdit_editBoxClose('editForm')">取 消</el-button>
                <el-button :disabled="mixinEdit_loading" type="primary"
                    @click="mixinEdit_editFormSubmit({model:'form',ref:'editForm'})">确定</el-button>
            </el-col>
        </el-row>
    </div>
</el-dialog>